Kjartan Maraas [Wed, 19 Nov 2014 18:30:46 +0000 (19:30 +0100)]
Updated Norwegian bokmål translation.
Daniel Mustieles [Wed, 19 Nov 2014 12:48:15 +0000 (13:48 +0100)]
Updated Spanish translation
Lapo Calamandrei [Tue, 18 Nov 2014 14:16:43 +0000 (15:16 +0100)]
Adwaita: typo fix
Matthias Clasen [Tue, 18 Nov 2014 12:39:15 +0000 (13:39 +0100)]
GtkPopoverMenu: expose more properties
Expose the position as a child property and the visible page
as a property. These are useful in glade.
Matthias Clasen [Tue, 18 Nov 2014 12:36:16 +0000 (13:36 +0100)]
GtkStack: Fix an oversight in child renaming
We currently emit a warning if you rename a child to the name
it already has. We shouldn't do that.
Tom Tryfonidis [Tue, 18 Nov 2014 08:36:28 +0000 (08:36 +0000)]
Updated Greek translation
Timm Bäder [Mon, 17 Nov 2014 17:39:15 +0000 (18:39 +0100)]
Revert "GtkMenuSectionBox: Add tooltip to iconic buttons"
This reverts commit
7543e7b279200ed0aad80574c0a3fa2672f297ce.
Timm Bäder [Mon, 17 Nov 2014 17:39:00 +0000 (18:39 +0100)]
Revert "popover: Add show/hide transition"
This reverts commit
17f48e3a9e3623df2feb76dd209fe80b94b8b5c1.
Timm Bäder [Sun, 16 Nov 2014 09:29:15 +0000 (10:29 +0100)]
GtkDialog: Connect to activate signals only once
If the widget is an action widget, it's been previously added with
gtk_dialog_add_action_widget, which calls add_response_data on it, which
in turn connects to the clicked/activate signal of that widget, so we
don't need to connect to that signal a second time in
gtk_buildable_custom_finished.
Timm Bäder [Fri, 24 Oct 2014 14:58:32 +0000 (16:58 +0200)]
popover: Add show/hide transition
Timm Bäder [Tue, 23 Sep 2014 16:26:53 +0000 (18:26 +0200)]
GtkMenuSectionBox: Add tooltip to iconic buttons
Marco Trevisan (Treviño) [Mon, 17 Nov 2014 16:22:01 +0000 (17:22 +0100)]
mir: update surface type based on events
Carlos Garnacho [Mon, 17 Nov 2014 15:55:08 +0000 (16:55 +0100)]
scrolledwindow: Avoid too frequent redraws of scrollbars
When overshooting through touchpad kinetic scrolling, the scrollbar remains
mostly static as it already hit a boundary. However, the fade in/out checks
are constantly run during scroll events, causing needless redraws in this
specific case.
Carlos Garnacho [Mon, 17 Nov 2014 13:47:57 +0000 (14:47 +0100)]
scrolledwindow: Only render background/frame on the widget window
Otherwise it is rendered too on each indicator window, possibly bringing
in an unintended opaque background there. Better seen with git show -b.
Marco Trevisan (Treviño) [Mon, 17 Nov 2014 12:38:27 +0000 (13:38 +0100)]
mir: fix typo in GDK_IS_WINDOW_MIR definition
Marco Trevisan (Treviño) [Sat, 15 Nov 2014 16:35:07 +0000 (17:35 +0100)]
mir: invert scrolling delta
Robert Ancell [Sun, 16 Nov 2014 21:49:13 +0000 (10:49 +1300)]
mir: Require mirclient >= 0.9.0
Recent changes to the Mir backend require an unreleased version.
Matthias Clasen [Sun, 16 Nov 2014 07:27:20 +0000 (02:27 -0500)]
Make gtk_container_remove work on popover menus
Extend the hack we have in place for composite containers to
GtkPopoverMenu.
Matthias Clasen [Sat, 15 Nov 2014 22:44:39 +0000 (17:44 -0500)]
GtkPopoverMenu: Implement forall
This is required to make glade work.
Lapo Calamandrei [Sat, 15 Nov 2014 18:08:13 +0000 (19:08 +0100)]
Adwaita: no border radius for GtkTreeView:selected
Lapo Calamandrei [Sat, 15 Nov 2014 15:09:39 +0000 (16:09 +0100)]
textview: remove osd style class from touch selection popover
The touch-selection class is sufficient since that needs special
casing whatever.
Lapo Calamandrei [Sat, 15 Nov 2014 15:08:15 +0000 (16:08 +0100)]
entry: remove osd style class from touch selection popover
The touch-selection class is sufficient since that needs special
casing whatever.
Lapo Calamandrei [Sat, 15 Nov 2014 14:54:20 +0000 (15:54 +0100)]
Adwaita: :selected cleanup and rationalization
Marco Trevisan (Treviño) [Fri, 14 Nov 2014 22:18:53 +0000 (23:18 +0100)]
mir: handle more surface types
Marco Trevisan (Treviño) [Fri, 14 Nov 2014 22:18:10 +0000 (23:18 +0100)]
mir: fix compilation in mirscreen
Lapo Calamandrei [Fri, 14 Nov 2014 18:34:09 +0000 (19:34 +0100)]
Adwaita: popover scss cleanup
Lapo Calamandrei [Fri, 14 Nov 2014 17:58:22 +0000 (18:58 +0100)]
Adwaita: more overshoot tweakings and typo fix
Matthias Clasen [Fri, 14 Nov 2014 16:49:33 +0000 (11:49 -0500)]
Make overlay scrollbar fading interruptible
When the pointer starts hovering the scrollbar after it already
started fading out, interrupt the fade and keep the scrollbar
around.
Matthias Clasen [Fri, 14 Nov 2014 16:47:24 +0000 (11:47 -0500)]
Drop unused variables
Keeps the compiler happy.
Lapo Calamandrei [Fri, 14 Nov 2014 14:37:02 +0000 (15:37 +0100)]
Adwaita: overshoot style tweaks
Trying to make it visible on the dark variant.
Matthias Clasen [Fri, 14 Nov 2014 04:10:34 +0000 (23:10 -0500)]
Trivial formatting fix
Matthias Clasen [Fri, 14 Nov 2014 04:09:21 +0000 (23:09 -0500)]
GtkPopover: Survive attach_widget == NULL
We can't render a tail, but otherwise things should just work.
This will be useful in glade.
Chun-wei Fan [Fri, 14 Nov 2014 09:26:29 +0000 (17:26 +0800)]
gdk/gdkgl.c: Fix Typo
The extra ';' actually broke builds on C89 compilers...
Josef Andersson [Thu, 13 Nov 2014 22:01:55 +0000 (22:01 +0000)]
Updated Swedish translation
Carlos Garnacho [Thu, 13 Nov 2014 20:21:39 +0000 (21:21 +0100)]
scrolledwindow: Use a fully transparent background for the overlay window
The background will be already given and updated in the GtkScrollbar widget,
plus the background remained static on the window since it is realized.
Kjartan Maraas [Thu, 13 Nov 2014 20:13:02 +0000 (21:13 +0100)]
Updated Norwegian bokmål translation.
Carlos Garnacho [Thu, 13 Nov 2014 19:30:52 +0000 (20:30 +0100)]
scrolledwindow: Don't doubly draw overlay-indicator scrollbars
The scrollbars are still internal children of the GtkScrolledWindow
and handled in ::forall(), no need to propagate draw here again
after chaining up in ::draw().
Carlos Garnacho [Thu, 13 Nov 2014 19:20:37 +0000 (20:20 +0100)]
gtkpopover: Fix allocation of child widget wrt margins
During size request, all sides' margins are ensured to be as big
as TAIL_HEIGHT, just to avoid possible relocation loops if the
popover doesn't fit in its original position. This must be
accounted for in size_allocate() as well.
Carlos Garnacho [Thu, 13 Nov 2014 19:18:54 +0000 (20:18 +0100)]
scrolledwindow: Only render overshoot on the widget window
Without any check, it was being rendered also on the indicator
GdkWindows, which resulted on an over-exposed effect there.
Lapo Calamandrei [Thu, 13 Nov 2014 17:47:42 +0000 (18:47 +0100)]
Adwaita: reset some properties in the overshoot mixin
Otherwise we may inherit them see:
https://bugzilla.gnome.org/show_bug.cgi?id=740011
Lapo Calamandrei [Thu, 13 Nov 2014 17:31:18 +0000 (18:31 +0100)]
Adwaita: overshoot styling
Daniel Mustieles [Thu, 13 Nov 2014 12:57:46 +0000 (13:57 +0100)]
Updated Spanish translation
Daniel Mustieles [Thu, 13 Nov 2014 12:54:12 +0000 (13:54 +0100)]
Updated Spanish translation
Lapo Calamandrei [Thu, 13 Nov 2014 10:26:40 +0000 (11:26 +0100)]
Adwaita: simplify scrollbar styling
By the use of slider margins. In the process darken the overlay
scrollbar trough in fine-tune mode to make it noticiable.
Matthias Clasen [Thu, 13 Nov 2014 03:50:52 +0000 (22:50 -0500)]
inspector: Add frame clock info
Add the frame clocks of toplevel widgets to the object tree,
and show their frame count and frame rate in the misc tab.
Marco Trevisan (Treviño) [Thu, 13 Nov 2014 03:42:48 +0000 (04:42 +0100)]
mir: get/set window surface type
Marco Trevisan (Treviño) [Thu, 13 Nov 2014 02:58:32 +0000 (03:58 +0100)]
mir: don't request more surface formats than the supported ones
Matthias Clasen [Thu, 13 Nov 2014 02:58:08 +0000 (21:58 -0500)]
inspector: Show the refcount on the misc tab
Matthias Clasen [Thu, 13 Nov 2014 01:44:22 +0000 (20:44 -0500)]
inspector: Update misc-info while the tab is shown
Update the values on the page once per second, while the tab
is shown.
Marco Trevisan (Treviño) [Thu, 13 Nov 2014 01:26:38 +0000 (02:26 +0100)]
mir: implement screen get_plug_name
Marco Trevisan (Treviño) [Thu, 13 Nov 2014 01:19:29 +0000 (02:19 +0100)]
mir: clear screen objects correctly
Marco Trevisan (Treviño) [Thu, 13 Nov 2014 01:07:46 +0000 (02:07 +0100)]
mir: don't crash when querying infos for an invalid monitor
Marco Trevisan (Treviño) [Thu, 13 Nov 2014 00:59:21 +0000 (01:59 +0100)]
mir: clear screen data
Marco Trevisan (Treviño) [Thu, 13 Nov 2014 00:47:56 +0000 (01:47 +0100)]
mir: correctly get screen mm sizes
Marco Trevisan (Treviño) [Thu, 13 Nov 2014 00:34:10 +0000 (01:34 +0100)]
mir: unset config change callback on finalize
Marco Trevisan (Treviño) [Thu, 13 Nov 2014 00:27:05 +0000 (01:27 +0100)]
mir: actually pass the GdkMirScreen to display config change cb
Matthias Clasen [Thu, 13 Nov 2014 00:22:55 +0000 (19:22 -0500)]
GtkCssProvider: Load themes from versioned directories
Look for themes in $prefix/themes/$name/gtk-$version/ (for
version = 3.16, 3.14, ...), before using the old location
$prefix/themes/$name/gtk-3.0/. This gives theme authors a
way to support multiple versions of GTK+ 3 with separate
css files.
Matthias Clasen [Wed, 12 Nov 2014 23:20:35 +0000 (18:20 -0500)]
GtkCssProvider: Factor out a function
Move finding the gtk.css file into its own function. We will
make this more complicated in the near future.
Matthias Clasen [Wed, 12 Nov 2014 22:23:45 +0000 (17:23 -0500)]
widget-factory: Add some margins to text views
Matthias Clasen [Wed, 12 Nov 2014 21:05:49 +0000 (16:05 -0500)]
gtk3-demo: Use better text margins
We really want margins around the scrollable content, not around
the viewport. Make it so by using textview-specific properties.
This is unfortunately a little complicated for top/bottom.
Lapo Calamandrei [Wed, 12 Nov 2014 16:30:59 +0000 (17:30 +0100)]
Adwaita: set scale trough margins where they belong.
Lapo Calamandrei [Wed, 12 Nov 2014 16:20:53 +0000 (17:20 +0100)]
gtkrange: consider css margin on the slider
Css margin now works on the slider as they do on the trough.
The margin is not considered in the space allocation as it is for
the trough, so the slider width will be the set slider-width -
margins. Spefifying margins on the main widget in the css will
clearly affect both the trough and the slider, so theme changes are
needed.
Matthias Clasen [Wed, 12 Nov 2014 12:17:59 +0000 (07:17 -0500)]
Forgotten files
Daniel Mustieles [Wed, 12 Nov 2014 12:31:27 +0000 (13:31 +0100)]
Updated Spanish translation
Daniel Mustieles [Wed, 12 Nov 2014 12:27:56 +0000 (13:27 +0100)]
Updated Spanish translation
Debarshi Ray [Tue, 11 Nov 2014 15:17:13 +0000 (16:17 +0100)]
query, searchengine: Drop unused and undefined function declarations
https://bugzilla.gnome.org/show_bug.cgi?id=739977
Matthias Clasen [Wed, 12 Nov 2014 04:02:11 +0000 (23:02 -0500)]
GtkActionBar: Make ::position writable
Matthias Clasen [Wed, 12 Nov 2014 04:01:16 +0000 (23:01 -0500)]
GtkActionBar: Rename center_box to box
Matthias Clasen [Wed, 12 Nov 2014 03:42:51 +0000 (22:42 -0500)]
inspector: Turn off search where we don't have a search bar yet
Avoid the builtin treeview search popup everywhere.
Lapo Calamandrei [Tue, 11 Nov 2014 16:23:04 +0000 (17:23 +0100)]
Statusbar: add 'statusbar' style class
Lapo Calamandrei [Tue, 11 Nov 2014 15:11:20 +0000 (16:11 +0100)]
Adwaita: add a missing comma...
Matthias Clasen [Mon, 10 Nov 2014 23:45:58 +0000 (18:45 -0500)]
GtkStack: Remove some clumsy use of GList API
No need for g_list_next(), and don't open-code g_list_index().
Matthias Clasen [Mon, 10 Nov 2014 20:24:08 +0000 (15:24 -0500)]
inspector: Only set debug-updates for the default display
Use the new private API to isolate the inspector itself from
this setting.
Matthias Clasen [Mon, 10 Nov 2014 20:23:14 +0000 (15:23 -0500)]
gdk: Make debug-updates a per-display setting
Add private API to set this per-display, and make the existing
gdk_window_set_debug_update function set a global default.
Matthias Clasen [Mon, 10 Nov 2014 20:07:52 +0000 (15:07 -0500)]
inspector: Add a rendering mode control
Matthias Clasen [Mon, 10 Nov 2014 19:39:57 +0000 (14:39 -0500)]
gdk: Add private API for rendering mode
This will be used to expose rendering mode in the inspector.
Matthias Clasen [Mon, 10 Nov 2014 19:28:43 +0000 (14:28 -0500)]
Move rendering mode into GdkDisplay
This is in preparation for making it runtime-settable in the
inspector.
Javier Jardón [Sat, 25 Oct 2014 19:23:16 +0000 (20:23 +0100)]
configure.ac: Depend on cairo 1.14.0
This is needed for cairo_set_device_scale()
Emmanuele Bassi [Mon, 10 Nov 2014 14:08:20 +0000 (14:08 +0000)]
window: GtkPlug is conditionally supported on X11 only
We cannot do a type check on it if we don't have the X11 backend
compiled in.
https://bugzilla.gnome.org/show_bug.cgi?id=739885
Alexander Larsson [Mon, 10 Nov 2014 14:24:14 +0000 (15:24 +0100)]
gdk_window_end_paint: Flush destination surface after paint
It seems in cairo 1.14 we need this after having painted an image surface
to a X11 window surface (i.e. with GDK_RENDERING=image).
Baurzhan Muftakhidinov [Mon, 10 Nov 2014 02:23:15 +0000 (02:23 +0000)]
Updated Kazakh translation
Matthias Clasen [Sun, 9 Nov 2014 02:43:26 +0000 (21:43 -0500)]
Inspector: hide the selector tab for non-widgets
Matthias Clasen [Sun, 9 Nov 2014 02:30:12 +0000 (21:30 -0500)]
inspector: Hide the size-groups tab when empty
Matthias Clasen [Sun, 9 Nov 2014 02:29:51 +0000 (21:29 -0500)]
inspector: Hide the inspector tab when empty
Matthias Clasen [Sat, 8 Nov 2014 17:55:03 +0000 (12:55 -0500)]
Set the clip on range widgets
This will allow better scrollbar theming.
Lapo Calamandrei [Sat, 8 Nov 2014 16:35:52 +0000 (17:35 +0100)]
Adwaita: increase scrollbar slider contrast
Matthias Clasen [Sat, 8 Nov 2014 14:57:48 +0000 (09:57 -0500)]
inspector: Set statistics button sensitivity
After moving the button the header, it is now visible when
statistics are not available. Disable it in this case.
Matthias Clasen [Sat, 8 Nov 2014 07:16:35 +0000 (02:16 -0500)]
inspector: Add more GL information
Add version and extension information to the general tab.
Emmanuele Bassi [Fri, 7 Nov 2014 14:33:53 +0000 (14:33 +0000)]
Hide GdkWindow libgtk_only API in the private vtable
These are the last two global GDK symbols that have a libgtk_only
suffix.
https://bugzilla.gnome.org/show_bug.cgi?id=739781
Emmanuele Bassi [Fri, 7 Nov 2014 14:27:56 +0000 (14:27 +0000)]
Move GDK GL flags accessors to the private vtable
This allows us to use the GDK_PRIVATE_CALL macro inside gtk.
https://bugzilla.gnome.org/show_bug.cgi?id=739781
Emmanuele Bassi [Fri, 7 Nov 2014 13:40:22 +0000 (13:40 +0000)]
Make global GDK libgtk_only functions more private
The current way of exposing GDK API that should be considered internal
to GTK+ is to append a 'libgtk_only' suffix to the function name; this
is not really safe.
GLib has been using a slightly different approach: a private table of
function pointers, and a macro that allows accessing the desired symbol
inside that vtable.
We can copy the approach, and deprecate the 'libgtk_only' symbols in
lieu of outright removal.
https://bugzilla.gnome.org/show_bug.cgi?id=739781
Matthias Clasen [Sat, 8 Nov 2014 05:06:54 +0000 (00:06 -0500)]
inspector: Reserve space for buttons
Make the button area in the top left a stack that is parallel
to the main page stack. This avoids size changes as we switch
between pages.
Matthias Clasen [Sat, 8 Nov 2014 05:08:40 +0000 (00:08 -0500)]
extract-strings: Handle property binding attributes
These attributes are now used in at least one place in the
GtkInspector ui files.
Matthias Clasen [Sat, 8 Nov 2014 04:40:31 +0000 (23:40 -0500)]
inspector: Improve search on the statistics page
Use a search bar here as well, instead of the builtin treeview popup.
Matthias Clasen [Sat, 8 Nov 2014 04:19:28 +0000 (23:19 -0500)]
inspector: Move the record button up
Give all the page space to the content.
Matthias Clasen [Sat, 8 Nov 2014 03:57:14 +0000 (22:57 -0500)]
inspector: Shorten some labels
Matthias Clasen [Sat, 8 Nov 2014 01:38:42 +0000 (20:38 -0500)]
inspector: Improve search in the resource tree
Make search in the resource tree work the same way as the new
search in the object tree.
Matthias Clasen [Sat, 8 Nov 2014 01:10:12 +0000 (20:10 -0500)]
inspector: Correct a tooltip
Jasper St. Pierre [Sat, 8 Nov 2014 01:39:43 +0000 (17:39 -0800)]
gdkwindow-x11: Fix indentation
Jasper St. Pierre [Sat, 8 Nov 2014 00:33:43 +0000 (16:33 -0800)]
inspector: Remove unused variable